package com.liseen.events
{
	import com.liseen.resource.ResLoaderItem;
	
	import flash.events.Event;

	/**
	 *加载队列事件 
	 * @author Liseen
	 * 
	 */	
	public class ResLoaderEvent extends Event
	{
		public static const ITEM_START:String = "item_start";
		public static const ITEM_COMPLETE:String = "item_complete";
		public static const ALL_COMPLETE:String = "all_complete";
		public static const PROGRESS:String = "progress";
		
		//单元加载对象
		public var data:ResLoaderItem;
		public function ResLoaderEvent(type:String,item:ResLoaderItem=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			data = item;
			super(type, bubbles, cancelable);
		}
	}
}